home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-09 / studpl21.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-02-01  |  2KB  |  73 lines

  1. @echo off
  2. cls
  3. echo 
  4. echo                      Studio PLUS Software Installation
  5. echo                      ---------------------------------
  6. if $%1 == $ goto prompt
  7. if %1 == c goto cdrive
  8. if %1 == C goto cdrive
  9. if %1 == c: goto cdrive
  10. if %1 == C: goto cdrive
  11. if %1 == d goto ddrive
  12. if %1 == D goto ddrive
  13. if %1 == d: goto ddrive
  14. if %1 == D: goto ddrive
  15. rem
  16. rem Prompt for batch file syntax
  17. rem
  18. :prompt
  19. echo 
  20. echo 
  21. echo The INSTALL procedure can install Studio PLUS on drive C or D.
  22. echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  23. echo Use one of the following: install c  or install d
  24. echo - - - - - - - - - - - - - - - - - - - - - - - - -
  25. goto exit
  26. rem
  27. rem C drive installation
  28. rem
  29. :cdrive
  30. echo Installing on drive C.
  31. echo Make sure Studio PLUS diskette is in drive A.
  32. echo ---------------------------------------------
  33. pause
  34. echo 
  35. echo Creating directory.... C:\PLUS
  36. echo Note: If you are re-installing ignore directory error messages.
  37. md c:\PLUS
  38. echo 
  39. echo Copying files...
  40. copy a:\*.* c:\plus
  41. cls
  42. echo 
  43. echo The Shareware version of Studio Plus installed on drive C!
  44. echo 
  45. echo Type PLUS at the C:\PLUS prompt.
  46. echo 
  47. pause
  48. goto exit
  49. rem
  50. rem D drive installation
  51. rem
  52. :ddrive
  53. echo Installing on drive D.
  54. echo Make sure Studio PLUS diskette is in drive A.
  55. echo ---------------------------------------------
  56. pause
  57. echo 
  58. echo Creating directories.... D:\PLUS
  59. echo Note: If you are re-installing ignore directory error messages.
  60. md d:\plus
  61. echo 
  62. echo Copying files...
  63. copy a:\*.* d:\plus
  64. cls
  65. echo 
  66. echo The Shareware version of Studio Plus installed on drive D!
  67. echo 
  68. echo Type PLUS at the D:\PLUS prompt.
  69. echo 
  70. pause
  71. :exit
  72.  
  73.